[MINIOS] Delay enabling event delivery at start of day.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 20 Nov 2006 10:33:35 +0000 (10:33 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 20 Nov 2006 10:33:35 +0000 (10:33 +0000)
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
extras/mini-os/kernel.c

index 9b3c471fe7981054b7bf1e319b2f3a40a2ab8461..152499ceb4c2793870ecbf1ec59b73e341534a2f 100644 (file)
@@ -101,9 +101,6 @@ void start_kernel(start_info_t *si)
 
     trap_init();
 
-    /* ENABLE EVENT DELIVERY. This is disabled at start of day. */
-    __sti();
-    
     /* print out some useful information  */
     printk("Xen Minimal OS!\n");
     printk("start_info:   %p\n",    si);
@@ -119,6 +116,9 @@ void start_kernel(start_info_t *si)
     /* Set up events. */
     init_events();
     
+    /* ENABLE EVENT DELIVERY. This is disabled at start of day. */
+    __sti();
+
     arch_print_info();
 
     setup_xen_features();